package org.jeecg.modules.config.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sys_config
 * @Author: jeecg-boot
 * @Date:   2023-05-05
 * @Version: V1.0
 */
@Data
@TableName("sys_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_config对象", description="sys_config")
public class SysConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
	/**属性编码标识*/
	@Excel(name = "属性编码标识", width = 15)
    @ApiModelProperty(value = "属性编码标识")
    private String code;
	/**是否是字典中的值*/
	@Excel(name = "是否是字典中的值", width = 15)
    @ApiModelProperty(value = "是否是字典中的值")
    private String dictFlag;
	/**字典类型的编码*/
	@Excel(name = "字典类型的编码", width = 15)
    @ApiModelProperty(value = "字典类型的编码")
    private String dictTypeId;
	/**属性值，如果是字典中的类型，则为dict的code*/
	@Excel(name = "属性值，如果是字典中的类型，则为dict的code", width = 15)
    @ApiModelProperty(value = "属性值，如果是字典中的类型，则为dict的code")
    private String value;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**createUser*/
	@Excel(name = "createUser", width = 15)
    @ApiModelProperty(value = "createUser")
    private Integer createUser;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**updateUser*/
	@Excel(name = "updateUser", width = 15)
    @ApiModelProperty(value = "updateUser")
    private Integer updateUser;
}
